-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update OpenBSD.md #12
base: master
Are you sure you want to change the base?
Conversation
@miczyg1 please test updated procedure. |
docs/OpenBSD.md
Outdated
wget http://ftp.icm.edu.pl/pub/OpenBSD/5.9/amd64/bsd.rd | ||
wget http://ftp.icm.edu.pl/pub/OpenBSD/5.9/amd64/pxeboot | ||
wget http://ftp.icm.edu.pl/pub/OpenBSD/6.1/amd64/bsd.rd | ||
wget http://ftp.icm.edu.pl/pub/OpenBSD/6.1/amd64/pxeboot | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pkubaj You have changed BSD version to 6.1, so please update it also in PXE menu.cfg
docs/OpenBSD.md
Outdated
|
||
5. In order to use Autoinstall mode, a few more adjustments need to be made. | ||
|
||
The binary you set to load in "filename" directive in DHCP server needs to be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pkubaj What if I do not have DHCP running?
@@ -48,23 +48,14 @@ Install OpenBSD over PXE | |||
menu default | |||
kernel OpenBSD/amd64/pxeboot.0 | |||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pkubaj consider adding some earlyprint over COM. I have no idea if the booting is proceeding or not when I run that menu option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean the option in PXELINUX or the autoboot option in iPXE? Generally, both load very quickly and it's usually you environment (dhcpd or tftpd configuration) which is bad.
docs/OpenBSD.md
Outdated
|
||
5. In order to use Autoinstall mode, a few more adjustments need to be made. | ||
|
||
The binary you set to load in "filename" directive in DHCP server needs to be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pkubaj what if I do not have a DHCP server running?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this procedure, it won't work. I'll prepare another one, for when there's no DHCP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please verify now.
@@ -48,23 +48,14 @@ Install OpenBSD over PXE | |||
menu default | |||
kernel OpenBSD/amd64/pxeboot.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pkubaj please consider adding some earlyprint over COM. Running this option in PXE menu causes no output and restarts apu2 after a while
I could not reproduce the procedure to boot BSD installation. Possible reason is that I have no DHCP server running. @pkubaj think about some workaround so I could try it too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed version to 6.1 and whitespace fix. Another procedure for use without DHCP will be prepared later.
Add info about SHA256, signatures and booting without DHCP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add info about signatures, SHA256 and booting without DHCP.
@@ -48,23 +48,14 @@ Install OpenBSD over PXE | |||
menu default | |||
kernel OpenBSD/amd64/pxeboot.0 | |||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean the option in PXELINUX or the autoboot option in iPXE? Generally, both load very quickly and it's usually you environment (dhcpd or tftpd configuration) which is bad.
docs/OpenBSD.md
Outdated
|
||
5. In order to use Autoinstall mode, a few more adjustments need to be made. | ||
|
||
The binary you set to load in "filename" directive in DHCP server needs to be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please verify now.
Note that it has to be in tftpd root directory, not the directory where bsd | ||
files are! | ||
|
||
You need to adjust IP's and netmask to your own environment. | ||
3. Boot configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pkubaj add a new line before "3. Boot configuration" because it appends to the previous line.
I still could not reproduce it. Steps I did:
Note: changing filename to pxeboot.0 or auto_install results in reboot after ~15 seconds. |
To simplify things, I set up to only boot OpenBSD directly from dhcpd. Here's my environment:
My TFTP root:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some corrections, putting auto_install
to dhcpd.conf
gives me:
Failed to load ldlinux.c32
Unfortunately, this introduces another Enter
that user needs to press.
Update of OpenBSD doc to describe autoinstall mode.